<?php 
//上传配置参数
$config['UPLOAD']['UPLOAD_SIZE']=3;
$config['UPLOAD']['UPLOAD_TYPE']='gif,jpg,jpeg,bmp,png,zip,rar';
$config['UPLOAD']['THUMBNAIL_TYPE']=true;
$config['UPLOAD']['THUMBNAIL_WIDTH']=500;
$config['UPLOAD']['THUMBNAIL_HEIGHT']=500;
$config['UPLOAD']['THUMBNAIL_ON']=false;
$config['UPLOAD']['WATERMARK_POSITION']=5;
$config['UPLOAD']['WATERMARK_IMAGE']='logo.png';
$config['UPLOAD']['WATERMARK_ON']=false;